package mapsObjects.movable;
import mapsObjects.ABaseObject;

public abstract class AMovableObject extends ABaseObject{
	
	public AMovableObject(int _x, int _y, int _width, int _height) {
		super(_x, _y, _width, _height);
	}

	private int speed = 2;
	private int power = 1;
	private String direction = "down";
	
	public void setSpeed(int _speed)
	{
		speed = _speed;
	}
	
	public void setPower(int _power)
	{
		power = _power;
	}
	
	public void setDirection(String _direction)
	{
		direction = _direction;
	}
	
	public int getSpeed()
	{
		return speed;
	}
	
	public int getPower()
	{
		return power;
	}
	
	public String getDirection()
	{
		return direction;
	}
}